<?php
/*
 * Filename: plugin/base/cms/stage1/content.php
 *
 * Stage 1 implies that no database configuration file has been created yet,
 * and in this stage such a file will be created.
 * The file will be created only after an initial connection has been made
 * and been verified as working.
 *
 * The database connection file is only created once the connection is tested
 * and working.
 *
 * TODO: make sure PDO is available and if not only support MySQL
 *
 */
?>

<h2>Stage 2: Administrator Account Setup</h2>
<h5><p>Stage 2 implies that an initial database has been created. This
    includes a default administrator user.</p>
    <p>This stage forces the setup the administrator account by providing
        a password.
    </p> </h5>


<form method="post" action="plugin/base/cms/stage2/submit.php" id="stage1">
    <div class="input-box">
        <label>Password:</label>
        <input type="password" name="adminpass" />
    </div>

    <div class="input-box">
        <label>Confirm Password</label>
        <input type="password" name="adminpass2" />
    </div>

    <div class="submit">
        <input type="submit" value="Submit" />
    </div>
</form>